Packetery\Module\Options\Provider A

Total Complexity 59
Dependencies 4
Dependents 19
Total lines 541
Lines of code 244
Logical lines of code 108
Comment lines 212
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
__construct()
S
58 4 17
getLabelFormats()
S
50 1 34
isOrderStatusAutoChangeForAutoSubmitAtFrontendEnabled()
S
64 3 10
getCarrierLabelFormat()
S
64 3 10
getStatusSyncingPacketStatuses()
S
60 2 14
getMaxStatusSyncingPackets()
S
68 2 7
getValidAutoOrderStatus()
S
69 2 7
isOrderStatusAutoChangeEnabled()
S
69 2 7
shouldWidgetOpenAutomatically()
S
69 2 7
getLabelMaxOffset()
S
69 2 7
isPacketAutoSubmissionEnabled()
S
68 2 7
getPacketAutoSubmissionMappedUniqueEvents()
S
67 2 8
isPacketCancellationForced()
S
69 2 7
getOptionsByName()
S
68 2 7
getMaxDaysOfPacketStatusSyncing()
S
68 2 7
getStatusSyncingOrderStatuses()
S
69 2 7
getDefaultWeight()
S
71 2 6
getCheckoutWidgetButtonLocation()
S
69 2 7
getCodPaymentMethod()
S
69 2 7
get_sender()
S
80 1 3
getAutoOrderStatus()
S
80 1 3
getAllOptions()
S
70 1 7
has_any()
S
79 1 3
get()
S
79 1 3
get_api_key()
S
80 1 3
get_api_password()
S
80 1 3
getPacketaLabelFormats()
S
74 1 4
get_packeta_label_format()
S
79 1 3
get_carrier_label_format()
S
79 1 3
isDefaultWeightEnabled()
S
80 1 3
getPacketAutoSubmissionEventForPaymentGateway()
S
78 1 3
get_allow_label_emailing()
S
80 1 3
getPacketAutoSubmissionPaymentMethodEventsMapping()
S
80 1 3
replaceShippingAddressWithPickupPointAddress()
S
80 1 3
getExistingStatusSyncingOrderStatuses()
S
72 1 5
getPackagingWeight()
S
80 1 3
sanitizePaymentGatewayId()
S
79 1 3